function main(tbl){
	let item=dao.fetch("sys_menu",Cnd.where("id","=",tbl.id))
	item.put("pname",dao.select("select name from sys_menu where id = "+item.pid,java.lang.String.class))
	return item||{};
}
function id(tbl){
	return {pid:tbl.id,pname:tbl.name}
}